package oakclub.entity;

import java.util.Date;

public class RosterEntity extends BaseEntity
{
    private UserEntity user;
    private UserEntity target;
    private int unreadNum;
    private String lastMessage;
    private Date lastMessageTime;
    private MutualMatchEntity mutualMatch;
    private Date lastActiveTime;

    public UserEntity getUser()
    {
        return user;
    }

    public void setUser(UserEntity user)
    {
        this.user = user;
    }

    public UserEntity getTarget()
    {
        return target;
    }

    public void setTarget(UserEntity target)
    {
        this.target = target;
    }

    public int getUnreadNum()
    {
        return unreadNum;
    }

    public void setUnreadNum(int unreadNum)
    {
        this.unreadNum = unreadNum;
    }

    public String getLastMessage()
    {
        return lastMessage;
    }

    public void setLastMessage(String lastMessage)
    {
        this.lastMessage = lastMessage;
    }

    public Date getLastMessageTime()
    {
        return lastMessageTime;
    }

    public void setLastMessageTime(Date lastMessageTime)
    {
        this.lastMessageTime = lastMessageTime;
    }

    public MutualMatchEntity getMutualMatch()
    {
        return mutualMatch;
    }

    public void setMutualMatch(MutualMatchEntity mutualMatch)
    {
        this.mutualMatch = mutualMatch;
    }

    public Date getLastActiveTime()
    {
        return lastActiveTime;
    }

    public void setLastActiveTime(Date lastActiveTime)
    {
        this.lastActiveTime = lastActiveTime;
    }
}
